

# MYLIST = ['admin','zhangsan','li','wangwu']
# 遍历列表
# print("MYLIST LEN =",len(MYLIST))
# for item in range(len(MYLIST)):
#     print("index = ",item,"value = ",MYLIST[item])

# STRING = "STRING"
# FOR
# for i in STRING:
#     print("STRING =",i)
# RANGE
# for i in range(5):
#     print("range = ",i)
# for i in range(1,6):
#     print("range = ",i)
# for i in range(1,10,3):
#     print("range = ",i)



# A = 90
# B = 60
# C = 50
# IF ELIF ELSE     grade 等级
# grade = 100
# if grade >= 90:
#     print("%d 等级 A" % grade)
# elif grade >= 60:
#     print("%d 等级 B" % grade)
# elif grade >= 50:
#     print("%d 等级 C" % grade)
# else:
#     print("%d 等级 D" % grade)


# username = 'admin'
# password = '123123'
# IF ELSE
# if username == 'admin':
#     print("用户名正确")
# else:
#     print("用户名错误")
# if password == '1231231':
#     print("密码正确")
# else:
#     print("密码错误")







